C1.Xaml.RichTextBox.Documents Namespace > C1TextPointer Class > GetOffsetToPosition Method : GetOffsetToPosition(C1TextPointer,Predicate<Tag>) Method |
'Declaration
Public Overloads Function GetOffsetToPosition( _ ByVal position As C1TextPointer, _ ByVal tagFilter As System.Predicate(Of Tag) _ ) As System.Integer
'Usage
Dim instance As C1TextPointer Dim position As C1TextPointer Dim tagFilter As System.Predicate(Of Tag) Dim value As System.Integer value = instance.GetOffsetToPosition(position, tagFilter)
public System.int GetOffsetToPosition( C1TextPointer position, System.Predicate<Tag> tagFilter )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2